﻿using System.Windows;

namespace RW_GUI
{
    /// <summary>
    /// Interaction logic for AddFluentWindow.xaml
    /// </summary>
    public partial class AddFluentWindow : Window
    {
        public bool valid = false;
        public string name;
        public AddFluentWindow()
        {
            InitializeComponent();
            txt_Name.Focus();
        }
        private void btn_Cancel_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }
        private void btn_Save_Click(object sender, RoutedEventArgs e)
        {
            valid = true;
            name = txt_Name.Text.Trim();
            Close();
        }
    }
}